<html>
  <g:if test="${session.userName}">
    <g:allReadyLogIn/>
  </g:if>
    <head>
        <title>Welcome to ERP System</title>
		<meta name="layout" content="login" />
    </head>
    <body>
      <h1 style="margin-top:10px; text-align:center; font:" >Welcome to ERP System</h1><br>
      <h2 style="text-align:center">Department of Computer and Information Science</h2>
      <div align="center" style="width:100%">
        <div style="width:280px; margin-top:50px" align="center">
          <g:form action="dologin" method="post">
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <table style="border:none">
              <tr>
                <td class="logon">IDA ID: </td>
                <td><input type="text" name="userName" class="logoninput" value='${employeeInstance?.userName}' > Type: ADMIN</td>
              </tr>
              <tr>
                <td class="logon">Password: </td>
                <td><input type="password" name='password' class="logoninput"  value='${employeeInstance?.password}' > Password: admin</td>
              </tr>
              <tr>
                <td></td>
                <td style="text-align: right;"><input type="submit" class="loginSubmit" value="Log On" /></td>
              </tr>
            </table>
          </g:form>
        </div>
      </div>
    </body>
</html>